import Vue from 'vue'
import App from './App.vue'
import router from "@/router"
import "@/router/router-config"  // 路由守卫，做动态路由的地方
import store from '@/store'
// 引入自定义指令
import '@/directive/v-watermark/index.js'
// ElementUI按需引入
import '@/components/elementui/index'
// reset.css
import './assets/css/normalize.css'
// 移动端适配方案 rem
import 'amfe-flexible'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
